<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>djvu</Name>
        <Homepage>http://djvu.sourceforge.net</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:gui</IsA>
        <IsA>library</IsA>
        <Summary>DjVu viewers, encoders and utilities</Summary>
        <Description>DjVu is a web-centric format and software platform to distribute documents and images.</Description>
        <Archive sha1sum="99c4f2c621c063bf8c8a1626030539fe5a8675f9" type="targz">mirrors://sourceforge/djvu/djvulibre-3.5.27.tar.gz</Archive>
        <BuildDependencies>
            <Dependency>libjpeg-turbo-devel</Dependency>
            <Dependency>tiff-devel</Dependency>
            <Dependency>xdg-utils</Dependency>
            <Dependency>libXt-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <Patch level="1">no-pthread.diff</Patch>
            <Patch level="1">djvulibre-3.5.22-cdefs.patch</Patch>
        </Patches>
    </Source>

    <Package>
        <Name>djvu</Name>
        <RuntimeDependencies>
            <Dependency>shared-mime-info</Dependency>
            <Dependency>libjpeg-turbo</Dependency>
            <Dependency>tiff</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="data">/usr/share/icons</Path>
            <Path fileType="data">/usr/share/applications</Path>
            <Path fileType="data">/usr/share/djvu</Path>
            <Path fileType="data">/usr/share/mime</Path>
            <Path fileType="data">/opt/netscape</Path>
            <Path fileType="doc">/usr/share/doc</Path>
            <Path fileType="man">/usr/share/man</Path>
        </Files>
    </Package>

    <Package>
        <Name>djvu-devel</Name>
        <Summary>Development files for djvu</Summary>
        <RuntimeDependencies>
            <Dependency release="current">djvu</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="header">/usr/include</Path>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
        </Files>
    </Package>

    <History>
        <Update release="8">
            <Date>2017-02-28</Date>
            <Version>3.5.27</Version>
            <Comment>Rebuild for new Toolchain.</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
        <Update release="2">
            <Date>2016-06-09</Date>
            <Version>3.5.27</Version>
            <Comment>Release Bump</Comment>
            <Name>Pisi Linux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2015-11-02</Date>
            <Version>3.5.27</Version>
            <Comment>First release</Comment>
            <Name>Stefan Gronewold(groni)</Name>
            <Email>groni@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
